package com.example.mybatisplus.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.model.domain.FirstAppointment;
import com.example.mybatisplus.model.domain.FirstViewAppDetail;
import com.example.mybatisplus.model.domain.StuInfo;

/**
 * <p>
 * 学生初访预约信息 Mapper 接口
 * </p>
 *
 * @author cft
 * @since 2022-06-27
 */
public interface FirstAppointmentMapper extends BaseMapper<FirstAppointment> {

	/* 
	 * author:cft
	 * function:得到已经安排过的初访预约的信息
	 */
	List<FirstViewAppDetail> getAllWaitedFirstAppInfo(@Param("firstap")FirstAppointment firstAppointment,
			@Param("stu")StuInfo stu);

	List<FirstViewAppDetail> getAllArrangedFirstAppInfo(@Param("firstap")FirstAppointment firstAppointment, @Param("stu")StuInfo stu);

}
